from Modules.sys_module.view import module_bp
from Modules.sys_account.view import account_bp
from Modules.sys_login.view import login_bp
from Modules.sys_log.view import logs_bp


def reg_blueprint(app=None):
    if app is None:
        return
    app.register_blueprint(module_bp)
    app.register_blueprint(account_bp)
    app.register_blueprint(login_bp)
    app.register_blueprint(logs_bp)
